package com.kangyi.app.service;

import com.kangyi.dto.*;
import com.kangyi.entity.User;
import com.kangyi.result.PageResult;
import com.kangyi.vo.UserVO;

/**
 * @author Blank
 * @version 1.0
 */
public interface UserService {
    User login(UserLoginDTO userLoginDTO);

    void register(UserDTO userDTO);

    void resetPassword(ForgotPasswordDTO forgotPasswordDTO);

    UserVO inquiryUser();

    void update(UserEditDTO userEditDto);

    PageResult nursingHomeAppointments(NursingHomeAppointmentsDTO nursingHomeAppointmentsDTO);

    PageResult charityRegistrations(CharityRegistrationsDTO charityRegistrationsDTO);

    PageResult reviews(UserPageDTO userPageDTO);

    void deleteReview(Integer reviewId);

    PageResult favorites(UserPageDTO userPageDTO);
}
